from django.urls import path

# from tsl_backend.fgr_api.views.views import (
#     OrderViewSet
# )

from tsl_backend.fgr_api.views.auth import AuthView
from tsl_backend.fgr_api.views import fgr_apis as fgr_apis

app_name = "fgr"

urlpatterns = [
    # path("queryProdOrder/", OrderViewSet.as_view({'get': 'list'})),
    # path("loginEorder/", AuthView.as_view({"post": "loginEorder"})),

    # getToken(E-Order<->API)
    path("User/getToken/", AuthView.as_view({"post": "getToken"})),

    # get TSL FGR token
    # path("User/getToken/tsl/", AuthView.as_view({"post": "getTokenFromTSL"})),

    # TODO: REMOVE BEFORE PRODUCTION
    # import sample user
    # path("importSampleData/", AuthView.as_view({"post": "importSampleData"})),

    
    ################################### test only, delete later ###################################
    path("test/call_queryColorImgs/", fgr_apis.call_queryColorImgs),
    path("test/call_queryStoneImgs/", fgr_apis.call_queryStoneImgs),
    path("test/call_queryReportParams/", fgr_apis.call_queryReportParams),
    path("test/call_queryReportResult/", fgr_apis.call_queryReportResult),
    path("test/call_printLabelByOrderNo/", fgr_apis.call_printLabelByOrderNo),


    ################################### test only, delete later ###################################
    
]
